<?php
namespace BigVideo\Other\Strategy;

use BigVideo\Other\Strategy\Impl\FlyWithWin;

class MallardDuck extends Duck
{

    public function __construct()
    {
        $this->setFlyingStrategy(new FlyWithWin());
    }

    public function display()
    {
        echo "绿脖子的鸭子\n";
    }
}